class CreateProductParameterValues < ActiveRecord::Migration
  def change
    create_table :product_parameter_values, :force => true do |t|
      t.references :parameter
      t.string :value, :limit => 30, :null => false
      t.string :presentation, :limit => 30, :null => false
    end

    add_index :product_parameter_values, :parameter_id
  end
end